<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: nars.io.StringParser.parseTerm</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d3/dca/classnars_1_1io_1_1StringParser_a5c31494d6f7862dcf15a4d5716b6200e.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="contents">
<a class="anchor" id="a5c31494d6f7862dcf15a4d5716b6200e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> nars.io.StringParser.parseTerm </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>s0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a>&#160;</td>
          <td class="paramname"><em>memory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Top-level method that parse a Term in general, which may recursively call itself. </p>
<p>There are 5 valid cases:</p><ol type="1">
<li>(Op, A1, ..., An) is a CompoundTerm if Op is a built-in operator</li>
<li>{A1, ..., An} is an SetExt;</li>
<li>[A1, ..., An] is an SetInt;</li>
<li>&lt;T1 re="" t2&gt;=""&gt; is a Statement (including higher-order Statement);</li>
<li>otherwise it is a simple term. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s0</td><td>the String to be parsed </td></tr>
    <tr><td class="paramname">memory</td><td>Reference to the memory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the Term generated from the String </dd></dl>
</li>
</ol>

<p>Definition at line <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00241">241</a> of file <a class="el" href="../../d7/dcd/StringParser_8java_source.html">StringParser.java</a>.</p>

<p>References <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00053">nars.io.Symbols.ARGUMENT_SEPARATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00044">nars.io.Symbols.COMPOUND_TERM_CLOSER</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00043">nars.io.Symbols.COMPOUND_TERM_OPENER</a>, <a class="el" href="../../dc/dfd/SetInt_8java_source.html#l00067">nars.language.SetInt.make()</a>, <a class="el" href="../../d3/d96/SetExt_8java_source.html#l00067">nars.language.SetExt.make()</a>, <a class="el" href="../../db/d0c/Memory_8java_source.html#l00152">nars.storage.Memory.nameToListedTerm()</a>, <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00368">nars.io.StringParser.parseArguments()</a>, <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00303">nars.io.StringParser.parseAtomicTerm()</a>, <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00347">nars.io.StringParser.parseCompoundTerm()</a>, <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00325">nars.io.StringParser.parseStatement()</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00048">nars.io.Symbols.SET_EXT_CLOSER</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00047">nars.io.Symbols.SET_EXT_OPENER</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00050">nars.io.Symbols.SET_INT_CLOSER</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00049">nars.io.Symbols.SET_INT_OPENER</a>, <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00290">nars.io.StringParser.showWarning()</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00046">nars.io.Symbols.STATEMENT_CLOSER</a>, and <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00045">nars.io.Symbols.STATEMENT_OPENER</a>.</p>

<p>Referenced by <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00368">nars.io.StringParser.parseArguments()</a>, <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00325">nars.io.StringParser.parseStatement()</a>, and <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00086">nars.io.StringParser.parseTask()</a>.</p>
<div class="fragment"><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;                                                           {</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        String s = s0.trim();</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            <span class="keywordflow">if</span> (s.length() == 0) {</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidInputException(<span class="stringliteral">&quot;missing content&quot;</span>);</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;            }</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t = memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93.html#a63058cc52d77412e0aead8387c23aa93">nameToListedTerm</a>(s);    <span class="comment">// existing constant or operator</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            <span class="keywordflow">if</span> (t != null) {</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;                <span class="keywordflow">return</span> t;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;            }                           <span class="comment">// existing Term</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;            <span class="keywordtype">int</span> index = s.length() - 1;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;            <span class="keywordtype">char</span> first = s.charAt(0);</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;            <span class="keywordtype">char</span> last = s.charAt(index);</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;            <span class="keywordflow">switch</span> (first) {</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_ae7288e11164656038caf396c2c4b7a58.html#ae7288e11164656038caf396c2c4b7a58">COMPOUND_TERM_OPENER</a>:</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;                    <span class="keywordflow">if</span> (last == <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_ab9662b963cff657c1089b306d3594efe.html#ab9662b963cff657c1089b306d3594efe">COMPOUND_TERM_CLOSER</a>) {</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                        <span class="keywordflow">return</span> <a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser_a944bb677dff9f232ce6b896c853e24e0.html#a944bb677dff9f232ce6b896c853e24e0">parseCompoundTerm</a>(s.substring(1, index), memory);</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;                    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;                        <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidInputException(<span class="stringliteral">&quot;missing CompoundTerm closer&quot;</span>);</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;                    }</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a3bc6ba8295af16e7dc108ea61af132c4.html#a3bc6ba8295af16e7dc108ea61af132c4">SET_EXT_OPENER</a>:</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;                    <span class="keywordflow">if</span> (last == <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_aed850ddff0dd1a47065099f5fccd5dfe.html#aed850ddff0dd1a47065099f5fccd5dfe">SET_EXT_CLOSER</a>) {</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;                        <span class="keywordflow">return</span> <a class="code" href="../../de/d1d/classnars_1_1language_1_1SetExt.html">SetExt</a>.<a class="code" href="../../de/d1d/classnars_1_1language_1_1SetExt_aa8f6526a59c3d7e578dd76a0eab75a0e.html#aa8f6526a59c3d7e578dd76a0eab75a0e">make</a>(<a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser_a7a11182c36a2fae68be8952110f47570.html#a7a11182c36a2fae68be8952110f47570">parseArguments</a>(s.substring(1, index) + <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_ab78cb07d148cc233baf7f43ee8d302e9.html#ab78cb07d148cc233baf7f43ee8d302e9">ARGUMENT_SEPARATOR</a>, memory), memory);</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;                    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;                        <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidInputException(<span class="stringliteral">&quot;missing ExtensionSet closer&quot;</span>);</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;                    }</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a54fee577660cb416592b3ee290e6a7c5.html#a54fee577660cb416592b3ee290e6a7c5">SET_INT_OPENER</a>:</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;                    <span class="keywordflow">if</span> (last == <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_aea87151443aa0d48255ee040f32bd1d0.html#aea87151443aa0d48255ee040f32bd1d0">SET_INT_CLOSER</a>) {</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;                        <span class="keywordflow">return</span> <a class="code" href="../../d2/dfc/classnars_1_1language_1_1SetInt.html">SetInt</a>.<a class="code" href="../../d2/dfc/classnars_1_1language_1_1SetInt_aaea0f2cc2ca804779d1bf346beb58fa1.html#aaea0f2cc2ca804779d1bf346beb58fa1">make</a>(<a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser_a7a11182c36a2fae68be8952110f47570.html#a7a11182c36a2fae68be8952110f47570">parseArguments</a>(s.substring(1, index) + <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_ab78cb07d148cc233baf7f43ee8d302e9.html#ab78cb07d148cc233baf7f43ee8d302e9">ARGUMENT_SEPARATOR</a>, memory), memory);</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;                    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;                        <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidInputException(<span class="stringliteral">&quot;missing IntensionSet closer&quot;</span>);</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;                    }</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_abc6f38df6d7517b21ecf27b34da1a2ea.html#abc6f38df6d7517b21ecf27b34da1a2ea">STATEMENT_OPENER</a>:</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;                    <span class="keywordflow">if</span> (last == <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a3c16442588a8be88035d635e13c8c486.html#a3c16442588a8be88035d635e13c8c486">STATEMENT_CLOSER</a>) {</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;                        <span class="keywordflow">return</span> <a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser_a7c129938c8d721e3db0a9804988f0588.html#a7c129938c8d721e3db0a9804988f0588">parseStatement</a>(s.substring(1, index), memory);</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;                    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;                        <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidInputException(<span class="stringliteral">&quot;missing Statement closer&quot;</span>);</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;                    }</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;                <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;                    <span class="keywordflow">return</span> <a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser_a4521720744de2b8638667be01b4be64a.html#a4521720744de2b8638667be01b4be64a">parseAtomicTerm</a>(s);</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;            }</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        } <span class="keywordflow">catch</span> (InvalidInputException e) {</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;            String message = <span class="stringliteral">&quot; !!! INVALID INPUT: parseTerm: &quot;</span> + s + <span class="stringliteral">&quot; --- &quot;</span> + e.getMessage();</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;            System.out.println(message);</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;            <a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser_a4fc8012616d44d8e7670044f9a0d2976.html#a4fc8012616d44d8e7670044f9a0d2976">showWarning</a>(message);</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        }</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keywordflow">return</span> null;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    }</div>
<div class="ttc" id="classnars_1_1language_1_1SetExt_aa8f6526a59c3d7e578dd76a0eab75a0e_html_aa8f6526a59c3d7e578dd76a0eab75a0e"><div class="ttname"><a href="../../de/d1d/classnars_1_1language_1_1SetExt_aa8f6526a59c3d7e578dd76a0eab75a0e.html#aa8f6526a59c3d7e578dd76a0eab75a0e">nars.language.SetExt.make</a></div><div class="ttdeci">static Term make(Term t, Memory memory)</div><div class="ttdoc">Try to make a new set from one component. </div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d96/SetExt_8java_source.html#l00067">SetExt.java:67</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1SetExt_html"><div class="ttname"><a href="../../de/d1d/classnars_1_1language_1_1SetExt.html">nars.language.SetExt</a></div><div class="ttdoc">An extensionally defined set, which contains one or more instances. </div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d96/SetExt_8java_source.html#l00031">SetExt.java:31</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a3c16442588a8be88035d635e13c8c486_html_a3c16442588a8be88035d635e13c8c486"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a3c16442588a8be88035d635e13c8c486.html#a3c16442588a8be88035d635e13c8c486">nars.io.Symbols.STATEMENT_CLOSER</a></div><div class="ttdeci">static final char STATEMENT_CLOSER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00046">Symbols.java:46</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_ab78cb07d148cc233baf7f43ee8d302e9_html_ab78cb07d148cc233baf7f43ee8d302e9"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_ab78cb07d148cc233baf7f43ee8d302e9.html#ab78cb07d148cc233baf7f43ee8d302e9">nars.io.Symbols.ARGUMENT_SEPARATOR</a></div><div class="ttdeci">static final char ARGUMENT_SEPARATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00053">Symbols.java:53</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_ab9662b963cff657c1089b306d3594efe_html_ab9662b963cff657c1089b306d3594efe"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_ab9662b963cff657c1089b306d3594efe.html#ab9662b963cff657c1089b306d3594efe">nars.io.Symbols.COMPOUND_TERM_CLOSER</a></div><div class="ttdeci">static final char COMPOUND_TERM_CLOSER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00044">Symbols.java:44</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1SetInt_html"><div class="ttname"><a href="../../d2/dfc/classnars_1_1language_1_1SetInt.html">nars.language.SetInt</a></div><div class="ttdoc">An intensionally defined set, which contains one or more instances defining the Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../dc/dfd/SetInt_8java_source.html#l00031">SetInt.java:31</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_ae7288e11164656038caf396c2c4b7a58_html_ae7288e11164656038caf396c2c4b7a58"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_ae7288e11164656038caf396c2c4b7a58.html#ae7288e11164656038caf396c2c4b7a58">nars.io.Symbols.COMPOUND_TERM_OPENER</a></div><div class="ttdeci">static final char COMPOUND_TERM_OPENER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00043">Symbols.java:43</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1StringParser_a4521720744de2b8638667be01b4be64a_html_a4521720744de2b8638667be01b4be64a"><div class="ttname"><a href="../../d3/dca/classnars_1_1io_1_1StringParser_a4521720744de2b8638667be01b4be64a.html#a4521720744de2b8638667be01b4be64a">nars.io.StringParser.parseAtomicTerm</a></div><div class="ttdeci">static Term parseAtomicTerm(String s0)</div><div class="ttdoc">Parse a Term that has no internal structure. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/dcd/StringParser_8java_source.html#l00303">StringParser.java:303</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1StringParser_a7a11182c36a2fae68be8952110f47570_html_a7a11182c36a2fae68be8952110f47570"><div class="ttname"><a href="../../d3/dca/classnars_1_1io_1_1StringParser_a7a11182c36a2fae68be8952110f47570.html#a7a11182c36a2fae68be8952110f47570">nars.io.StringParser.parseArguments</a></div><div class="ttdeci">static ArrayList&lt; Term &gt; parseArguments(String s0, Memory memory)</div><div class="ttdoc">Parse a String into the argument get of a CompoundTerm. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/dcd/StringParser_8java_source.html#l00368">StringParser.java:368</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1StringParser_a7c129938c8d721e3db0a9804988f0588_html_a7c129938c8d721e3db0a9804988f0588"><div class="ttname"><a href="../../d3/dca/classnars_1_1io_1_1StringParser_a7c129938c8d721e3db0a9804988f0588.html#a7c129938c8d721e3db0a9804988f0588">nars.io.StringParser.parseStatement</a></div><div class="ttdeci">static Statement parseStatement(String s0, Memory memory)</div><div class="ttdoc">Parse a String to create a Statement. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/dcd/StringParser_8java_source.html#l00325">StringParser.java:325</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1StringParser_a4fc8012616d44d8e7670044f9a0d2976_html_a4fc8012616d44d8e7670044f9a0d2976"><div class="ttname"><a href="../../d3/dca/classnars_1_1io_1_1StringParser_a4fc8012616d44d8e7670044f9a0d2976.html#a4fc8012616d44d8e7670044f9a0d2976">nars.io.StringParser.showWarning</a></div><div class="ttdeci">static void showWarning(String message)</div><div class="ttdef"><b>Definition:</b> <a href="../../d7/dcd/StringParser_8java_source.html#l00290">StringParser.java:290</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a3bc6ba8295af16e7dc108ea61af132c4_html_a3bc6ba8295af16e7dc108ea61af132c4"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a3bc6ba8295af16e7dc108ea61af132c4.html#a3bc6ba8295af16e7dc108ea61af132c4">nars.io.Symbols.SET_EXT_OPENER</a></div><div class="ttdeci">static final char SET_EXT_OPENER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00047">Symbols.java:47</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_aed850ddff0dd1a47065099f5fccd5dfe_html_aed850ddff0dd1a47065099f5fccd5dfe"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_aed850ddff0dd1a47065099f5fccd5dfe.html#aed850ddff0dd1a47065099f5fccd5dfe">nars.io.Symbols.SET_EXT_CLOSER</a></div><div class="ttdeci">static final char SET_EXT_CLOSER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00048">Symbols.java:48</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1StringParser_a944bb677dff9f232ce6b896c853e24e0_html_a944bb677dff9f232ce6b896c853e24e0"><div class="ttname"><a href="../../d3/dca/classnars_1_1io_1_1StringParser_a944bb677dff9f232ce6b896c853e24e0.html#a944bb677dff9f232ce6b896c853e24e0">nars.io.StringParser.parseCompoundTerm</a></div><div class="ttdeci">static Term parseCompoundTerm(String s0, Memory memory)</div><div class="ttdoc">Parse a String to create a CompoundTerm. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/dcd/StringParser_8java_source.html#l00347">StringParser.java:347</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a54fee577660cb416592b3ee290e6a7c5_html_a54fee577660cb416592b3ee290e6a7c5"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a54fee577660cb416592b3ee290e6a7c5.html#a54fee577660cb416592b3ee290e6a7c5">nars.io.Symbols.SET_INT_OPENER</a></div><div class="ttdeci">static final char SET_INT_OPENER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00049">Symbols.java:49</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_abc6f38df6d7517b21ecf27b34da1a2ea_html_abc6f38df6d7517b21ecf27b34da1a2ea"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_abc6f38df6d7517b21ecf27b34da1a2ea.html#abc6f38df6d7517b21ecf27b34da1a2ea">nars.io.Symbols.STATEMENT_OPENER</a></div><div class="ttdeci">static final char STATEMENT_OPENER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00045">Symbols.java:45</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_html"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term.html">nars.language.Term</a></div><div class="ttdoc">Term is the basic component of Narsese, and the object of processing in NARS. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00040">Term.java:40</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93_html_a63058cc52d77412e0aead8387c23aa93"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93.html#a63058cc52d77412e0aead8387c23aa93">nars.storage.Memory.nameToListedTerm</a></div><div class="ttdeci">Term nameToListedTerm(String name)</div><div class="ttdoc">Get a Term for a given name of a Concept or Operator. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00152">Memory.java:152</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1SetInt_aaea0f2cc2ca804779d1bf346beb58fa1_html_aaea0f2cc2ca804779d1bf346beb58fa1"><div class="ttname"><a href="../../d2/dfc/classnars_1_1language_1_1SetInt_aaea0f2cc2ca804779d1bf346beb58fa1.html#aaea0f2cc2ca804779d1bf346beb58fa1">nars.language.SetInt.make</a></div><div class="ttdeci">static Term make(Term t, Memory memory)</div><div class="ttdoc">Try to make a new set from one component. </div><div class="ttdef"><b>Definition:</b> <a href="../../dc/dfd/SetInt_8java_source.html#l00067">SetInt.java:67</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_aea87151443aa0d48255ee040f32bd1d0_html_aea87151443aa0d48255ee040f32bd1d0"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_aea87151443aa0d48255ee040f32bd1d0.html#aea87151443aa0d48255ee040f32bd1d0">nars.io.Symbols.SET_INT_CLOSER</a></div><div class="ttdeci">static final char SET_INT_CLOSER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00050">Symbols.java:50</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d3/dca/classnars_1_1io_1_1StringParser_a5c31494d6f7862dcf15a4d5716b6200e_a5c31494d6f7862dcf15a4d5716b6200e_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</p>

<p><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d3/dca/classnars_1_1io_1_1StringParser_a5c31494d6f7862dcf15a4d5716b6200e_a5c31494d6f7862dcf15a4d5716b6200e_icgraph.svg" width="100%" height="470"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d81/namespacenars.html">nars</a></li><li class="navelem"><a class="el" href="../../db/d64/namespacenars_1_1io.html">io</a></li><li class="navelem"><a class="el" href="../../d3/dca/classnars_1_1io_1_1StringParser.html">StringParser</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:59 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
